export function selectworkstatus() {
    var list = [
        { label: "未提交", value: "未提交" },
        { label: "待审核", value: "待审核" },
        { label: "已撤销", value: "已撤销" },
        { label: "已批准", value: "已批准" },
        { label: "已驳回", value: "已驳回" },
        { label: "已审核", value: "已审核" },
        { label: "已关闭", value: "已关闭" }
    ];
    return list;
}

export function selectfireworkstyle() {
    var list = [{
        name: "焊接",
        value: "焊接",
        checked: false,
        disabled: false
    },
    {
        name: "气割",
        value: "气割",
        checked: false,
        disabled: false
    },
    {
        name: "燃烧",
        value: "燃烧",
        checked: false,
        disabled: false
    },
    {
        name: "切削",
        value: "切削",
        checked: false,
        disabled: false
    },
    {
        name: "明火",
        value: "明火",
        checked: false,
        disabled: false
    },
    {
        name: "塑料焊",
        value: "塑料焊",
        checked: false,
        disabled: false
    },
    {
        name: "打磨",
        value: "打磨",
        checked: false,
        disabled: false
    },
    {
        name: "钻孔",
        value: "钻孔",
        checked: false,
        disabled: false
    },
    {
        name: "破碎",
        value: "破碎",
        checked: false,
        disabled: false
    },
    {
        name: "锤击",
        value: "锤击",
        checked: false,
        disabled: false
    },
    {
        name: "使用非防爆电气",
        value: "使用非防爆电气",
        checked: false,
        disabled: false
    },
    {
        name: "其他",
        value: "其他",
        checked: false,
        disabled: false
    },
    ];
    return list;
}

export function selectotherwork() {
    var list = [{
        name: "不涉及",
        value: "不涉及",
        checked: false,
        disabled: false,
        template: ["fire", "confined", "high", "temp", "earth", "circuit"]
    },
    {
        name: "动火作业",
        value: "动火作业",
        checked: false,
        disabled: false,
        template: ["confined", "high", "temp", "earth", "circuit", "overhaul"]
    },
    {
        name: "受限空间",
        value: "受限空间",
        checked: false,
        disabled: false,
        template: ["fire", "high", "temp", "earth", "circuit", "overhaul"]
    },
    {
        name: "高处作业",
        value: "高处作业",
        checked: false,
        disabled: false,
        template: ["fire", "confined", "temp", "earth", "circuit", "overhaul"]
    },
    {
        name: "吊装作业",
        value: "吊装作业",
        checked: false,
        disabled: false,
        template: ["fire", "confined", "high", "temp", "earth", "circuit", "overhaul"]
    },
    {
        name: "临时用电",
        value: "临时用电",
        checked: false,
        disabled: false,
        template: ["fire", "confined", "high", "earth", "circuit", "overhaul"]
    },
    {
        name: "盲板抽堵及管线打开",
        value: "盲板抽堵及管线打开",
        checked: false,
        disabled: false,
        template: ["fire", "confined", "high", "temp", "earth", "circuit", "overhaul"]
    },
    {
        name: "动土作业",
        value: "动土作业",
        checked: false,
        disabled: false,
        template: ["fire", "confined", "high", "temp", "circuit", "overhaul"]
    },
    {
        name: "断路作业",
        value: "断路作业",
        checked: false,
        disabled: false,
        template: ["fire", "confined", "high", "temp", "earth", "overhaul"]
    },
    {
        name: "无需危险作业票",
        value: "无需危险作业票",
        checked: false,
        disabled: false,
        template: ["overhaul"]
    },
    ];
    return list;
}

export function getotherwork(template) {
    var result = [];
    var rindex = 0;
    var listarr = selectotherwork();
    for (var i = 0; i < listarr.length; i++) {
        for (var j = 0; j < listarr[i].template.length; j++) {
            if (listarr[i].template[j] == template) {
                result[rindex] = listarr[i];
                rindex = rindex + 1;
            }
        }
    }
    return result;
}

export function getriskidentif(template) {
    var result = [];
    var resdata = [{
        template: "fire",
        data: ["引起火灾", "造成设备、储罐、管线有爆炸危害", "引起其它爆炸", "造成触电（电击和电伤）危害", "产生静电", "造成腐蚀、灼伤危害", "造成中毒和窒息", "引起物体打击", "造成人员/工具坠落", "造成烫伤危害", "造成其他伤害", "引起泄漏", "引起机械伤害", "引起坍塌危害 ", "引起绊倒滑倒伤害", "引起粉尘爆炸", "存在高压气体/液体", "存在高/低温环境", "不利天气", "照明不好", "交叉作业", "其它危害"]
    },
    {
        template: "confined",
        data: ["引起火灾", "造成设备、储罐、管线有爆炸危害", "引起其它爆炸", "造成触电（电击和电伤）危害", "产生静电", "造成腐蚀、灼伤危害", "造成中毒和窒息", "引起物体打击", "造成人员/工具坠落", "造成烫伤危害", "造成其他伤害", "引起泄漏", "引起机械伤害", "引起坍塌危害 ", "引起绊倒滑倒伤害", "引起粉尘爆炸", "存在高压气体/液体", "存在高/低温环境", "不利天气", "照明不好", "交叉作业", "其它危害"]
    },
    {
        template: "high",
        data: ["引起火灾", "造成设备、储罐、管线有爆炸危害", "引起其它爆炸", "造成触电（电击和电伤）危害", "产生静电", "造成腐蚀、灼伤危害", "造成中毒和窒息", "引起物体打击", "造成人员/工具坠落", "造成烫伤危害", "造成其他伤害", "引起泄漏", "引起机械伤害", "引起坍塌危害 ", "引起绊倒滑倒伤害", "引起粉尘爆炸", "存在高压气体/液体", "存在高/低温环境", "不利天气", "照明不好", "交叉作业", "其它危害"]
    },
    {
        template: "hoisting",
        data: ["引起火灾", "造成设备、储罐、管线有爆炸危害", "引起其它爆炸", "造成触电（电击和电伤）危害", "产生静电", "造成腐蚀、灼伤危害", "造成中毒和窒息", "引起物体打击", "造成人员/工具坠落", "造成烫伤危害", "造成其他伤害", "引起泄漏", "引起机械伤害", "引起坍塌危害 ", "引起绊倒滑倒伤害", "引起粉尘爆炸", "存在高压气体/液体", "存在高/低温环境", "不利天气", "照明不好", "交叉作业", "其它危害"]
    },
    {
        template: "temp",
        data: ["引起火灾", "造成设备、储罐、管线有爆炸危害", "引起其它爆炸", "造成触电（电击和电伤）危害", "产生静电", "造成腐蚀、灼伤危害", "造成中毒和窒息", "引起物体打击", "造成人员/工具坠落", "造成烫伤危害", "造成其他伤害", "引起泄漏", "引起机械伤害", "引起坍塌危害 ", "引起绊倒滑倒伤害", "引起粉尘爆炸", "存在高压气体/液体", "存在高/低温环境", "不利天气", "照明不好", "交叉作业", "其它危害"]
    },
    {
        template: "earth",
        data: ["引起火灾", "造成设备、储罐、管线有爆炸危害", "引起其它爆炸", "造成触电（电击和电伤）危害", "产生静电", "造成腐蚀、灼伤危害", "造成中毒和窒息", "引起物体打击", "造成人员/工具坠落", "造成烫伤危害", "造成其他伤害", "引起泄漏", "引起机械伤害", "引起坍塌危害 ", "引起绊倒滑倒伤害", "引起粉尘爆炸", "存在高压气体/液体", "存在高/低温环境", "不利天气", "照明不好", "交叉作业", "其它危害"]
    },
    {
        template: "circuit",
        data: ["引起火灾", "造成设备、储罐、管线有爆炸危害", "引起其它爆炸", "造成触电（电击和电伤）危害", "产生静电", "造成腐蚀、灼伤危害", "造成中毒和窒息", "引起物体打击", "造成人员/工具坠落", "造成烫伤危害", "造成其他伤害", "引起泄漏", "引起机械伤害", "引起坍塌危害 ", "引起绊倒滑倒伤害", "引起粉尘爆炸", "存在高压气体/液体", "存在高/低温环境", "不利天气", "照明不好", "交叉作业", "其它危害"]
    },
    {
        template: "overhaul",
        data: ["引起火灾", "造成设备、储罐、管线有爆炸危害", "引起其它爆炸", "造成触电（电击和电伤）危害", "产生静电", "造成腐蚀、灼伤危害", "造成中毒和窒息", "引起物体打击", "造成人员/工具坠落", "造成烫伤危害", "造成其他伤害", "引起泄漏", "引起机械伤害", "引起坍塌危害 ", "引起绊倒滑倒伤害", "引起粉尘爆炸", "存在高压气体/液体", "存在高/低温环境", "不利天气", "照明不好", "交叉作业", "其它危害"]
    },
    {
        template: "chemical",
        data: ["引起火灾", "造成设备、储罐、管线有爆炸危害", "引起其它爆炸", "造成触电（电击和电伤）危害", "产生静电", "造成腐蚀、灼伤危害", "造成中毒和窒息", "引起物体打击", "造成人员/工具坠落", "造成烫伤危害", "造成其他伤害", "引起泄漏", "引起机械伤害", "引起坍塌危害 ", "引起绊倒滑倒伤害", "引起粉尘爆炸", "存在高压气体/液体", "存在高/低温环境", "不利天气", "照明不好", "交叉作业", "其它危害"]
    }
    ];
    for (var i = 0; i < resdata.length; i++) {
        if (resdata[i].template == template) {
            for (var j = 0; j < resdata[i].data.length; j++) {
                var row = {};
                row.name = resdata[i].data[j];
                row.value = resdata[i].data[j];
                row.checked = false;
                row.disabled = false;
                result.push(row);
            }
        }
    }
    return result;
}

export function selectusetool() {
    var list = [{
        name: "直梯",
        value: "直梯",
        checked: false,
        disabled: false
    },
    {
        name: "人字梯",
        value: "人字梯",
        checked: false,
        disabled: false
    },
    {
        name: "绳梯",
        value: "绳梯",
        checked: false,
        disabled: false
    },
    {
        name: "扣件式脚手架",
        value: "扣件式脚手架",
        checked: false,
        disabled: false
    },
    {
        name: "移动脚手架",
        value: "移动脚手架",
        checked: false,
        disabled: false
    },
    {
        name: "升降机",
        value: "升降机",
        checked: false,
        disabled: false
    },
    {
        name: "屋顶、设备顶部",
        value: "屋顶、设备顶部",
        checked: false,
        disabled: false
    },
    {
        name: "其他",
        value: "其他",
        checked: false,
        disabled: false
    },
    ];
    return list;
}

export function selectusetoolzt() {
    var list = [{
        name: "开关阀门",
        value: "开关阀门",
        checked: false,
        disabled: false
    },
    {
        name: "检修",
        value: "检修",
        checked: false,
        disabled: false
    },
    {
        name: "清理",
        value: "清理",
        checked: false,
        disabled: false
    },
    {
        name: "焊接",
        value: "焊接",
        checked: false,
        disabled: false
    },
    {
        name: "防腐",
        value: "防腐",
        checked: false,
        disabled: false
    },
    {
        name: "带压堵漏",
        value: "带压堵漏",
        checked: false,
        disabled: false
    },
    {
        name: "打磨",
        value: "打磨",
        checked: false,
        disabled: false
    },
    {
        name: "钻孔/切削",
        value: "钻孔/切削",
        checked: false,
        disabled: false
    },
    {
        name: "压力吹扫",
        value: "压力吹扫",
        checked: false,
        disabled: false
    },
    {
        name: "喷涂",
        value: "喷涂",
        checked: false,
        disabled: false
    },
    {
        name: "登高车",
        value: "登高车",
        checked: false,
        disabled: false
    },
    {
        name: "其他",
        value: "其他",
        checked: false,
        disabled: false
    },
    ];
    return list;
}

export function selectworkenv() {
    var list = [{
        name: "吊物形状复杂、施工条件特殊",
        value: "吊物形状复杂、施工条件特殊",
        checked: false,
        disabled: false
    },
    {
        name: "两台或以上、存在交叉作业",
        value: "两台或以上、存在交叉作业",
        checked: false,
        disabled: false
    },
    {
        name: "跨过易燃易爆、有毒有害装置",
        value: "跨过易燃易爆、有毒有害装置",
        checked: false,
        disabled: false
    },
    {
        name: "存在易燃易爆、有毒有害区域",
        value: "存在易燃易爆、有毒有害区域",
        checked: false,
        disabled: false
    },
    {
        name: "不涉及",
        value: "不涉及",
        checked: false,
        disabled: false
    }
    ];
    return list;
}

export function selectworkproject() {
    var list = [{
        name: "生产",
        value: "生产"
    },
    {
        name: "技措",
        value: "技措"
    }];
    return list;
}


export function selectworkuse() {
    var list = [{
        name: "生产",
        value: "生产",
        checked: false,
        disabled: false
    },
    {
        name: "大修",
        value: "大修",
        checked: false,
        disabled: false
    },
    {
        name: "技措",
        value: "技措",
        checked: false,
        disabled: false
    },
    {
        name: "其他",
        value: "其他",
        checked: false,
        disabled: false
    }
    ];
    return list;
}

export function selectbindworkstyle() {
    var list = [{
        name: "抽盲板",
        value: "抽盲板",
        checked: false,
        disabled: false
    },
    {
        name: "堵盲板",
        value: "堵盲板",
        checked: false,
        disabled: false
    }
    ];
    return list;
}

export function selectflammability() {
    var list = [{
        name: "可燃性",
        value: "可燃性",
        checked: false,
        disabled: false
    },
    {
        name: "腐蚀性",
        value: "腐蚀性",
        checked: false,
        disabled: false
    },
    {
        name: "有毒性",
        value: "有毒性",
        checked: false,
        disabled: false
    }
    ];
    return list;
}

export function selectearthworkstyle() {
    var list = [{
        name: "挖土",
        value: "挖土",
        checked: false,
        disabled: false
    },
    {
        name: "打桩",
        value: "打桩",
        checked: false,
        disabled: false
    },
    {
        name: "钻探",
        value: "钻探",
        checked: false,
        disabled: false
    },
    {
        name: "坑探",
        value: "坑探",
        checked: false,
        disabled: false
    },
    {
        name: "地锚入土深度在0.5m以上",
        value: "地锚入土深度在0.5m以上",
        checked: false,
        disabled: false
    },
    {
        name: "推土机、压路机等施工机械填土或平整场地",
        value: "推土机、压路机等施工机械填土或平整场地",
        checked: false,
        disabled: false
    },
    {
        name: "其他",
        value: "其他",
        checked: false,
        disabled: false
    }
    ];
    return list;
}

export function selectcircuitworkstyle() {
    var list = [{
        name: "道路开挖",
        value: "道路开挖",
        checked: false,
        disabled: false
    },
    {
        name: "道路隔断",
        value: "道路隔断",
        checked: false,
        disabled: false
    }
    ];
    return list;
}

export function selectfireworklevel() {
    var list = [{
        label: "特级",
        value: "特级",
        checked: false,
        disabled: false
    },
    {
        label: "一级",
        value: "一级"
    },
    {
        label: "二级",
        value: "二级"
    }
    ];
    return list;
}

export function selectoverhaulworkstyle() {
    var list = [{
        label: "管线、防护罩打开",
        value: "管线、防护罩打开",
        checked: false,
        disabled: false
    },
    {
        label: "设备检修",
        value: "设备检修"
    }
    ];
    return list;
}

export function selecthighworklevel() {
    var list = [{
        label: "一级高处作业2m≤h≤5m",
        value: "1"
    },
    {
        label: "二级高处作业5m＜h≤15m",
        value: "2"
    },
    {
        label: "三级高处作业15m＜h≤30m",
        value: "3"
    },
    {
        label: "四级高处作业h＞30m",
        value: "4"
    }
    ];
    return list;
}

export function selectcompletion() {
    var list = [{
        label: "工作完成",
        value: "1"
    },
    {
        label: "工作没有完成",
        value: "2"
    },
    {
        label: "已恢复作业时拆移的安全设施，处于安全状态，并清理作业现场",
        value: "3"
    }
    ];
    return list;
}

export function selectworktypelist() {
    return [{ label: "动火作业", value: "FireDangerousWork" },
    { label: "受限空间作业", value: "ConfinedSpaceWork" },
    { label: "高处安全作业", value: "HighSafetyWork" },
    { label: "吊装安全作业", value: "HoistingSafetyWork" },
    { label: "临时用电安全作业", value: "TempElectricWork" },
    { label: "盲板抽堵作业", value: "BlindPlateWork" },
    { label: "动土作业", value: "EarthMoveSafeWork" },
    { label: "断路作业", value: "OpenCircuitSafeWork" },
    { label: "设备检修作业", value: "OverhaulSafetyWork" }
    ];
}

/**新版作业票数据 */
export function selectworktype() {
    return [{ label: "动火作业", value: "FireDangerousWork", ordernum: 1 },
    { label: "受限空间", value: "ConfinedSpaceWork", ordernum: 2 },
    { label: "高处作业", value: "HighSafetyWork", ordernum: 3 },
    { label: "吊装作业", value: "HoistingSafetyWork", ordernum: 4 },
    { label: "临时用电", value: "TempElectricWork", ordernum: 5 },
    { label: "盲板抽堵", value: "BlindPlateWork", ordernum: 6 },
    { label: "动土作业", value: "EarthMoveSafeWork", ordernum: 7 },
    { label: "断路作业", value: "OpenCircuitSafeWork", ordernum: 8 },
    { label: "设备检修作业", value: "OverhaulSafetyWork", ordernum: 9 }
    ];
}

export function selectworktypetemplate() {
    return [{ label: "动火作业", value: "FireDangerousWork", ordernum: 1 },
    { label: "受限空间", value: "ConfinedSpaceWork", ordernum: 2 },
    { label: "高处作业", value: "HighSafetyWork", ordernum: 3 },
    { label: "吊装作业", value: "HoistingSafetyWork", ordernum: 4 },
    { label: "临时用电", value: "TempElectricWork", ordernum: 5 },
    { label: "盲板抽堵", value: "BlindPlateWork", ordernum: 6 },
    { label: "动土作业", value: "EarthMoveSafeWork", ordernum: 7 },
    { label: "断路作业", value: "OpenCircuitSafeWork", ordernum: 8 },
    { label: "设备检修作业", value: "OverhaulSafetyWork", ordernum: 9 },
    { label: "热力机械工票", value: "rlSafetyWork", ordernum: 10 },
    { label: "电气第一种工作票", value: "dqoneSafetyWork", ordernum: 11 },
    { label: "电气第二种工作票", value: "dqtwoSafeWork", ordernum: 12 },
    { label: "热控工作票", value: "rkSafeWork", ordernum: 13 }
    ];
}

export function selectworktypenot(value) {
    var rows=[];
    var list=selectworktype();
    for(var i=0;i<list.length;i++)
    {
        if(list[i].value!=value){
            rows.push(list[i]);
        }
    }
    return rows;
}

export function selectriskidentif() {
    return ["引起火灾", "造成设备、储罐、管线有爆炸危害", "引起其它爆炸", "造成触电（电击和电伤）危害", "产生静电", "造成腐蚀、灼伤危害", "造成中毒和窒息", "引起物体打击", "造成人员/工具坠落", "造成烫伤危害", "造成起重伤害", "引起泄漏", "引起机械伤害", "引起坍塌危害 ", "引起绊倒滑倒伤害", "引起粉尘爆炸", "存在高压气体/液体", "存在高/低温环境", "不利天气", "照明不好", "交叉作业", "淹溺", "其它危害"];
}

export function selectriskidentiffirezt() {
    return ["火灾", "其他爆炸", "物体打击", "机械伤害", "起重伤害", "触电", "灼烫", "淹溺", "高处坠落", "车辆伤害", "坍塌", "中毒和窒息", " 其他"];
}

export function selectriskidentifearthzt() {
    return ["火灾", "其他爆炸", "物体打击", "机械伤害", "起重伤害", "触电", "灼烫", "淹溺", "高处坠落", "锅炉爆炸", "坍塌", "中毒和窒息", "容器爆炸", " 其它"];
}

export function selectriskidentifhighzt() {
    return ["高处坠落", "物体打击", "机械伤害", "起重伤害", "触电", "灼烫", "火灾", "淹溺", "其他爆炸", "车辆伤害", "坍塌", "中毒和窒息", " 其他"];
}

export function selectriskidentiftempzt() {
    return ["人员触电", "机械伤害", "灼烫", "窒息", "其他"];
}

export function selectriskidentifblindzt() {
    return ["烫伤", "冲击", "中毒", "火灾", "爆炸", "噪音", "腐蚀", "坠落", "灼伤", "窒息", "冻伤", "其他"];
}

export function selectriskidentifconfinedzt() {
    return ["中毒和窒息", "物体打击", "机械伤害", "淹溺", "触电", "火灾", "高处坠落", "其他爆炸", "坍塌", "灼烫", "其它"];
}

export function selectprotectionzt() {
    return ["耐酸碱手套", "防酸碱眼镜", "安全帽", "防毒口罩", "化学防护服", "防静电服", "防烫服", "耳塞", "气体检测仪", "安全带", "正压式呼吸器", "全面屏", "手套（普通/挂胶）", "其他"];
}

export function selectworkkindconfinedzt() {
    return ["清洗", "压力吹扫", "钻孔", "检修", "喷涂", "打磨", "防腐", "清理", "切削", "用电", "焊接", "挖掘", "其他"];
}

export function selectfire9() {
    return [{
        label: "耳塞",
        value: "1",
        checked: false
    },
    {
        label: "防毒面具",
        value: "2",
        checked: false
    },
    {
        label: "电焊面罩",
        value: "3",
        checked: false
    },
    {
        label: "轻型防化服",
        value: "4",
        checked: false
    },
    {
        label: "重型防化服",
        value: "5",
        checked: false
    },
    {
        label: "其它个人防护",
        value: "6",
        checked: false
    }
    ];
}

export function selectfire11() {
    return [{
        label: "二氧化碳灭火器[field6]台",
        value: "1",
        checked: false
    },
    {
        label: "干粉灭火器[field7]台",
        value: "2",
        checked: false
    }
    ];
}

export function selectfire12() {
    return [{
        label: "警戒带",
        value: "1",
        checked: false
    },
    {
        label: "警戒标志",
        value: "2",
        checked: false
    }
    ];
}

export function selectconfined7() {
    return [{
        label: "无需用",
        value: "1",
        checked: false
    },
    {
        label: "已采用",
        value: "2",
        checked: false
    }
    ];
}

export function selectconfined15() {
    return [{
        label: "消防器材",
        value: "1",
        checked: false
    },
    {
        label: "救生绳",
        value: "2",
        checked: false
    },
    {
        label: "软梯、绳梯、直梯",
        value: "3",
        checked: false
    },
    {
        label: "三脚架",
        value: "4",
        checked: false
    },
    {
        label: "通风机",
        value: "5",
        checked: false
    },
    {
        label: "空气呼吸器",
        value: "6",
        checked: false
    },
    {
        label: "长管呼吸器",
        value: "7",
        checked: false
    }
    ];
}

export function selectconfined16() {
    return [{
        label: "说话",
        value: "1",
        checked: false
    },
    {
        label: "手语",
        value: "2",
        checked: false
    },
    {
        label: "对讲机",
        value: "3",
        checked: false
    },
    {
        label: "喇叭",
        value: "4",
        checked: false
    }
    ];
}

export function selecthigh7() {
    return [{
        label: "过滤式防毒面具或口罩",
        value: "1",
        checked: false
    },
    {
        label: "隔绝式呼吸防护装备",
        value: "2",
        checked: false
    }
    ];
}

export function selecthoisting20() {
    return [{
        label: "指示牌",
        value: "1",
        checked: false
    },
    {
        label: "指示灯",
        value: "2",
        checked: false
    }
    ];
}

export function selecthoisting22() {
    return [{
        label: "36V防水型灯",
        value: "1",
        checked: false
    },
    {
        label: "24V防水型灯",
        value: "2",
        checked: false
    },
    {
        label: "12V防水型灯",
        value: "3",
        checked: false
    },
    {
        label: "36V防爆型灯",
        value: "4",
        checked: false
    },
    {
        label: "24V防爆型灯",
        value: "5",
        checked: false
    },
    {
        label: "12V防爆型灯",
        value: "6",
        checked: false
    }
    ];
}

export function selectearth10() {
    return [{
        label: "梯子",
        value: "1",
        checked: false
    },
    {
        label: "修坡道",
        value: "2",
        checked: false
    }
    ];
}

export function selectearth13() {
    return [{
        label: "36V防水型灯",
        value: "1",
        checked: false
    },
    {
        label: "24V防水型灯",
        value: "2",
        checked: false
    },
    {
        label: "12V防水型灯",
        value: "3",
        checked: false
    },
    {
        label: "36V防爆型灯",
        value: "4",
        checked: false
    },
    {
        label: "24V防爆型灯",
        value: "5",
        checked: false
    },
    {
        label: "12V防爆型灯",
        value: "6",
        checked: false
    }
    ];
}

export function safetyjdoptions() {
    return [{
        label: '作业现场和作业过程中可能存在的危险、有害因素及采取的具体安全措施与应急措施',
        value: 1,
        checked: false,
        disabled: false
    },
    {
        label: '了解和熟悉现场环境，进一步核实安全措施的可靠性，熟悉应急救援器材的位置及分布',
        value: 2,
        checked: false,
        disabled: false
    },
    {
        label: '对作业现场的地下隐蔽工程进行交底',
        value: 3,
        checked: false,
        disabled: false
    },
    {
        label: '其他',
        value: 4,
        checked: false,
        disabled: false
    }
    ]
}

export function selectkinditem() {
    return [{
        label: '防腐保温',
        value: '防腐保温',
        checked: false,
    },
    {
        label: '技改类',
        value: '技改类',
        checked: false,
    },
    {
        label: '土建类',
        value: '土建类',
        checked: false,
    },
    {
        label: '计划检修',
        value: '计划检修',
        checked: false,
    }
    ]
}

export function selectworkvoltage() {
    var list = [{
        label: "380v",
        value: "380v"
    },
    {
        label: "220v",
        value: "220v"
    },
    {
        label: "其他",
        value: "其他"
    }];
    return list;
}

export function selectwhethergas() {
    var list = [{
        label: "一般情况",
        value: "1"
    },
    {
        label: "涉及硫化氢、二硫化碳",
        value: "2"
    }];
    return list;
}

export function selecthigh24() {
	return [{
			label: "系索长度<2米",
			value: "1",
			checked: false
		},
		{
			label: "双系索",
			value: "2",
			checked: false
		},
		{
			label: "连接部件齐全",
			value: "3",
			checked: false
		},
		{
			label: "钩锁无磨损变形",
			value: "4",
			checked: false
		},
		{
			label: "D型环无变形损坏",
			value: "5",
			checked: false
		},
		{
			label: "接锁扣已锁死",
			value: "6",
			checked: false
		}
	];
}

export function selectblind19() {
	return [{
			label: "设备停运",
			value: "1",
			checked: false
		},
		{
			label: "阀门隔断",
			value: "2",
			checked: false
		},
		{
			label: "管线断开",
			value: "3",
			checked: false
		},
		{
			label: "断电挂签明示",
			value: "4",
			checked: false
		}
	];
}

export function getsignopinionzt(list, code) {
    var signopinion = "";
    if (list != null && list.length > 0) {
        for (var i = 0; i < list.length; i++) {
            if (code == list[i].code) {
                signopinion = list[i].signopinion;
                break;
            }
        }
    }
    return signopinion;
}

export function getsigntypezt(list, code) {
    var signtype = "";
    if (list != null && list.length > 0) {
        for (var i = 0; i < list.length; i++) {
            if (code == list[i].code) {
                signtype = list[i].signtype;
                break;
            }
        }
    }
    return signtype;
}